﻿#ifndef REPLYCOMMENT_H
#define REPLYCOMMENT_H

#include <QDialog>

namespace Ui {
class ReplyComment;
}

class ReplyComment : public QDialog
{
    Q_OBJECT
signals:
    void signalSubmitBusComment(const QString &id,const QString &comment);

public:
    explicit ReplyComment(QWidget *parent = nullptr);
    ~ReplyComment();

    void setCommentID(const QString& commentID);
    void errorShow(const QString &msg);
private slots:
    void on_pb_submit_clicked();
    void on_pb_cancel_clicked();

private:
    Ui::ReplyComment *ui;
    QString m_commentID;
};

#endif // REPLYCOMMENT_H
